import tornado.web
from config import settings


class abstract(tornado.web.RequestHandler):

    def render_string(self, template_name, **kwargs):
        # Let the templates access the users module to generate login URLs
        return tornado.web.RequestHandler.render_string(
            self,template_name,footer_links=settings.footer_links,**kwargs)
            
    def get_current_user(self):
        pass

base=abstract
